import Layout from '@/layout'

const mallRouter = [
  {
    path: '/brandInfo',
    component: Layout,
    redirect: '/brandInfo/index',
    alwaysShow: true,
    name: 'mall',
    meta: {
      title: 'mall',
      icon: 'lock'
    },
    children: [
      {
        path: 'index',
        component: () => import('@/views/mall/brandInfo/index'),
        name: 'index',
        meta: {
          title: '品牌信息维护 - '
        }
      },
      {
        path: 'orgPosition',
        component: () => import('@/views/mall/org/position'),
        name: 'orgPosition',
        meta: {
          title: '职务管理 - '
        }
      },
      {
        path: 'departmentManage',
        component: () => import('@/views/mall/org/department'),
        name: 'departmentManage',
        meta: {
          title: '部门管理 - '
        }
      },
      {
        path: 'employeeManage',
        component: () => import('@/views/mall/org/employee'),
        name: 'employeeManage',
        meta: {
          title: '员工管理 - '
        }
      }
    ]
  }
]
export default mallRouter
